package com.sky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.sky.dto.TeacherDTO;
import com.sky.dto.TeacherPageQueryDTO;
import com.sky.entity.Museum;
import com.sky.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface TeacherMappper extends BaseMapper<Teacher> {

    Page<Teacher> pageQuery(TeacherPageQueryDTO teacherPageQueryDTO);

    List<Teacher> selectReserveTeacherById(Long perId);

    List<Teacher> teacherList();

    List<Teacher> selectByDay(LocalDate day);

    Teacher getOneByDay(Long terId, LocalDate day);
}
